package dataserver.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Where;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *@类:视频表
 */
@Entity
@Table(name = "scene_video")
@Data
@AllArgsConstructor //生成全参数构造函数
@NoArgsConstructor//生成无参构造函数
@Where(clause = "del_flag=0")
public class SceneVideo extends Base {

    /**
     * 站场id
     */
    @Column(name = "station_id")
    private String stationId;

    /**
     * 站场名称
     */
    @Column(name = "station_name")
    private String stationName;

   /**
    * 名称
    */
   @Column(name = "name")
   private String name;

   /**
    * 经度
    */
   @Column(name = "x")
   private Double x;
   /**
    * 纬度
    */
   @Column(name = "y")
   private Double y;
   /**
    * 高度
    */
   @Column(name = "z")
   private Float z;

   /**
    * 图片路径
    */
   @Column(name = "icon")
   private String icon;


   /**
    * url路径
    */
   @Column(name = "url")
   private String url;


}